﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataAccess.DTO
{
    public class TreeModel
    {
        public int bizId { get; set; }
        public int bizPId { get; set; }
        public string text { get; set; }
        public string href { get; set; }
        public bool selectable { get; set; }
        public List<string> tags { get; set; }
        public List<TreeModel> nodes { get; set; }
        public State state { get; set; }
    }

    public class State
    {

        [JsonProperty(PropertyName = "checked")]
        public bool Checked { get; set; }
        
        public bool disabled { get; set; }
        public bool expanded { get; set; }
        public bool selected { get; set; }

    }

}
